package com.xjust.Mapper;

import com.xjust.pojo.CheckRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface MedicalTechnologyMapper {
    Map<String, Object> getMedicalTechnology(Integer medicalTechnologyId);

    List<Map<String, Object>> selectTechByCondition(String tech_code, String tech_name, String tech_format);

    void InsertMedicalTechnology( Map<String,Object> checkRequest);

    List<Map<String, Object>> selectMedicalTechnology(String tech_code, String tech_name,String tech_type);

   List<Map<String,Object>> selectAllMedicalTechnologyByRegisterId(Integer id, String state);

    List<Map<String, Object>> getMedicalTechnologyInfomation(String tech_name, BigDecimal tech_price, String tech_type, String tech_code);
    String selectAllMedicalTechnologyByRegisterIdOfName(Integer id, String state);

    String selectAllMedicalTechnologyByRegisterIdOfCode(Integer id, String state);

    String selectAllMedicalTechnologyByRegisterIdOfPrice(Integer id, String state);

    Integer getMedicalByName(Object techName);

    List<Map<String, Object>> selectMedicalTechnologyByRegisterId(Integer [] ids);
}
